<?php echo "<?xml version=\"1.0\"?>";
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>

{menu}
<table class='sectiontableheader' id='CommentMenu' width='100%' cellpadding='4' cellspacing='1' border='0'>
  <tr>
    <td align='left' class='label'>{_COMMENTS_2_4}</td>
	<td align='right' class='buttons'>
	  <table cellpadding='0' cellspacing='0' border='0'>
	    <tr>{buttons}</tr>
	  </table>
	</td>
  </tr>
</table>
{/menu}

{search}
<form name='joomlacommentsearch' method='post'>
  <a name='SearchForm'></a>
  <table align='center' cellpadding='0' cellspacing='0' class='form'>
    <tr>
      <td colspan='3' class='sectiontableheader' align='center'>{_JOOMLACOMMENT_SEARCH}</td>
    </tr>
    <tr class='sectiontableentry1'>
      <td class='item'>{_JOOMLACOMMENT_PROMPT_KEYWORD}</td>
	  <td class='item'><input name='tsearch' type='text' class='inputbox' size='40' /></td>
	  <td class='item'><input name='bsearch' type='button' class='button' value='{_JOOMLACOMMENT_SEARCH}' onclick='JOSC_search()' /></td>
	</tr>
    <tr class='sectiontableentry2'>
      <td colspan='3' class='item'>
        <input type='radio' name='rsearchphrase' onClick='JOSC_rsearchphrase_selection="any"' checked='checked' />{_JOOMLACOMMENT_SEARCH_ANYWORDS}
        <input type='radio' name='rsearchphrase' onClick='JOSC_rsearchphrase_selection="all"' />{_JOOMLACOMMENT_SEARCH_ALLWORDS}
        <input type='radio' name='rsearchphrase' onClick='JOSC_rsearchphrase_selection="exact"' />{_JOOMLACOMMENT_SEARCH_PHRASE}
	  </td>
    </tr>
  </table>
  <div style='margin-bottom: 5px;'></div>
</form>
{/search}

{searchresults}
<div id='SearchResults'>
  <a name='SearchResults'></a>
  <table align='center' cellpadding='0' cellspacing='0' class='form'>
    <tr>
      <td class='sectiontableheader' align='center'>{resulttitle}</td>
    </tr>
	{searchresult}
    <tr>
      <td>
	    <table width='100%' class='{postclass}' align='center' cellpadding='0' cellspacing='0' class='searchresult'>
		  <tbody>
		  <tr class='small'>
            <td class='item'>{title} {_JOOMLACOMMENT_BY} {name}</td>
	      </tr>
          <tr class='item'>
            <td class='item'><a  href='{adress}'>{preview}</a></td>
          </tr>
          <tr class='small'>
            <td class='item'>{date}</td>
          </tr>
          </tbody>
        </table>
	  </td>
    </tr>
    {/searchresult}
  </table>
  <div style='margin-bottom: 5px;'></div>
</div>
{/searchresults}

{post}
<table width='100%' cellpadding='4' cellspacing='1' border='0'>
  <tbody class='{postclass}'>
  <tr>
  <td>
  <div class='posttitle'>{title}</div>
  {avatar}<div>{avatar_picture}</div>{/avatar}
  <div class='small'>{username} ({usertype}) {date}</div>
  <hr />
  {content}
  {footer}
  <hr />
  <table class='postfooter' width='100%' cellpadding='0' cellspacing='0'>
  <tr><td align='left'>{editbuttons}</td><td align='right'>{voting}</td></tr>
  </table>
  </td>
  </tr>
  {/footer}
  </tbody>
</table>
{/post}

{form} <a name='CommentForm'></a>
<form name='joomlacommentform' method='post' action='{self}'>
  <input type='hidden' name='content_id' value='{id}'/>
  <table align='center' class='sendform' cellpadding='4' cellspacing='1' border='0'>
    <tr>
      <td colspan='2' class='sectiontableheader'>
          <div id='CommentFormTitle'>{_WRITECOMMENT}</div>
      </td>
    </tr>
    <tr class='sectiontableentry1'>
      <td><div>{_ENTERNAME}</div></td>
      <td><div>
          <input name='tname' type='text' class='inputbox' size='40' value='{username}' {registered_readonly}/>
        </div></td>
    </tr>
    <tr class='sectiontableentry1' style='{email_display}'>
      <td><div>{_ENTEREMAIL}</div></td>
      <td><div>
          <input name='temail' type='text' class='inputbox' size='30' value='{email}' {registered_readonly}/>
          &nbsp;{notifyselect}
        </div></td>
    </tr>
    <tr class='sectiontableentry1'>
      <td><div>{_ENTERWEBSITE}</div></td>
      <td><div>
          <input name='twebsite' type='text' class='inputbox' size='40' value='{website}'/>
        </div></td>
    </tr>
    <tr class='sectiontableentry1'>
      <td><div>{_ENTERTITLE}</div></td>
      <td><div>
          <input name='ttitle' type='text' class='inputbox' size='40'/>
        </div></td>
    </tr>
    {UBBCode}
    <tr class='sectiontableentry1'>
      <td><div>{_UBBCODE}</div></td>
      <td><div class='buttoncontainer'>
          <div style='float: left;'> {UBBCodeButtons} </div>
          <div style='float: left;'> {UBBCodeSelect} </div>
        </div></td>
    </tr>
    {/UBBCode}
    <tr class='sectiontableentry1'>
      <td align='center' valign='middle'>{emoticons}</td>
      <td><div>
          <textarea name='tcomment' class='inputbox' cols='40' rows='10'></textarea>
        </div></td>
    </tr>
    <tr>
      <td class='sectiontableentry1'>
      {captcha}
		<table class='captchacontainer' cellpadding='0' cellspacing='0'>
        <tr>
          <td><input type='text' name='security_try' id='security_try' size='15' maxlength='10' class='captchainput' /></td>
          <td class='captcha'>{security_image}</td>
        </tr>
      	</table>
      {/captcha}
      </td>
      <td class='sectiontableentry1'>
	  <table class='buttoncontainer' cellpadding='0' cellspacing='0'>
        <tr>
          <td><input type='button' class='button' name='bsend' value='{_SENDFORM}' onclick='JOSC_editPost(-1,-1)' /></td>
          <td id='busy'></td>
        </tr>
      </table>
	  </td>
    </tr>
    <tr class='sectiontableentry2'>
      <td><div class='itemsmall'>{_CAPTCHATXT}</div></td>
      <td><div class='item'>
        </div></td>
    </tr>
  </table>
</form>
{/form}
</body>
</html>
